[INFO] cloning repository https://github.com/U-Keun/rust-mini-os
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/U-Keun/rust-mini-os" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FU-Keun%2Frust-mini-os", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FU-Keun%2Frust-mini-os'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 27a48f11ec638a7c493414e9117270911959cb40
[INFO] fixing U-Keun/rust-mini-os against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FU-Keun%2Frust-mini-os" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/U-Keun/rust-mini-os
[INFO] finished tweaking git repo https://github.com/U-Keun/rust-mini-os
[INFO] tweaked toml for git repo https://github.com/U-Keun/rust-mini-os written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/U-Keun/rust-mini-os on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/U-Keun/rust-mini-os already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded riscv-macros v0.3.0
[INFO] [stderr]   Downloaded riscv v0.15.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 623d30479636a39cff22e9697499fab9354025f258aa16ef921b052ed0509220
[INFO] running `Command { std: "docker" "start" "623d30479636a39cff22e9697499fab9354025f258aa16ef921b052ed0509220", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "623d30479636a39cff22e9697499fab9354025f258aa16ef921b052ed0509220" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "623d30479636a39cff22e9697499fab9354025f258aa16ef921b052ed0509220", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "623d30479636a39cff22e9697499fab9354025f258aa16ef921b052ed0509220" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking embedded-hal v1.0.0
[INFO] [stderr]     Checking riscv-pac v0.2.0
[INFO] [stderr]     Checking critical-section v1.2.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling syn v2.0.108
[INFO] [stderr]    Compiling riscv-macros v0.3.0
[INFO] [stderr]     Checking riscv v0.15.0
[INFO] [stderr]     Checking rust_kernel v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> src/mem/paging/sv32.rs:73:1
[INFO] [stdout]    |
[INFO] [stdout] 73 | / extern "C" {
[INFO] [stdout] 74 | |     static __kernel_base: u8;
[INFO] [stdout] 75 | |     static __free_ram_end: u8;
[INFO] [stdout] 76 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/mem/paging/sv32.rs:83:19
[INFO] [stdout]    |
[INFO] [stdout] 83 |     let end_raw = (&__free_ram_end as *const u8 as usize);
[INFO] [stdout]    |                   ^                                     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 83 -     let end_raw = (&__free_ram_end as *const u8 as usize);
[INFO] [stdout] 83 +     let end_raw = &__free_ram_end as *const u8 as usize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a0`: unknown register
[INFO] [stdout]   --> src/sbi.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |             inout("a0") a0,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a1`: unknown register
[INFO] [stdout]   --> src/sbi.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |             inout("a1") a1,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a2`: unknown register
[INFO] [stdout]   --> src/sbi.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |             in("a2") arg2, in("a3") arg3, in("a4") arg4, in("a5") arg5,
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a3`: unknown register
[INFO] [stdout]   --> src/sbi.rs:34:28
[INFO] [stdout]    |
[INFO] [stdout] 34 |             in("a2") arg2, in("a3") arg3, in("a4") arg4, in("a5") arg5,
[INFO] [stdout]    |                            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a4`: unknown register
[INFO] [stdout]   --> src/sbi.rs:34:43
[INFO] [stdout]    |
[INFO] [stdout] 34 |             in("a2") arg2, in("a3") arg3, in("a4") arg4, in("a5") arg5,
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a5`: unknown register
[INFO] [stdout]   --> src/sbi.rs:34:58
[INFO] [stdout]    |
[INFO] [stdout] 34 |             in("a2") arg2, in("a3") arg3, in("a4") arg4, in("a5") arg5,
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a6`: unknown register
[INFO] [stdout]   --> src/sbi.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |             in("a6") fid, in("a7") eid,
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a7`: unknown register
[INFO] [stdout]   --> src/sbi.rs:35:27
[INFO] [stdout]    |
[INFO] [stdout] 35 |             in("a6") fid, in("a7") eid,
[INFO] [stdout]    |                           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> src/mem/paging/sv32.rs:73:1
[INFO] [stdout]    |
[INFO] [stdout] 73 | / extern "C" {
[INFO] [stdout] 74 | |     static __kernel_base: u8;
[INFO] [stdout] 75 | |     static __free_ram_end: u8;
[INFO] [stdout] 76 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/mem/paging/sv32.rs:83:19
[INFO] [stdout]    |
[INFO] [stdout] 83 |     let end_raw = (&__free_ram_end as *const u8 as usize);
[INFO] [stdout]    |                   ^                                     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 83 -     let end_raw = (&__free_ram_end as *const u8 as usize);
[INFO] [stdout] 83 +     let end_raw = &__free_ram_end as *const u8 as usize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]   --> src/panic.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | / fn panic(info: &core::panic::PanicInfo) -> ! {
[INFO] [stdout]  5 | |     if let Some(loc) = info.location() {
[INFO] [stdout]  6 | |         let msg = info.message();
[INFO] [stdout]  7 | |         crate::kprintln!("PANIC: {}:{}: {}", loc.file(), loc.line(), msg);
[INFO] [stdout] ...  |
[INFO] [stdout] 11 | |     halt()
[INFO] [stdout] 12 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the lang item is first defined in crate `std` (which `test` depends on)
[INFO] [stdout]    = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/622891a4e29178280638a6b63a8908bde2c0c854/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ebc3593764c44f83.rmeta
[INFO] [stdout]    = note: second definition in the local crate (`rust_kernel`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_kernel` (bin "rust_kernel" test) due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `raw` found for struct `PAddr` in the current scope
[INFO] [stdout]   --> src/mem/paging/sv32.rs:21:29
[INFO] [stdout]    |
[INFO] [stdout] 21 |     SATP_SV32 | (root_paddr.raw() / PAGE_SIZE)
[INFO] [stdout]    |                             ^^^ method not found in `PAddr`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/mem/addr.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct PAddr(pub(crate) usize);
[INFO] [stdout]    | ---------------- method `raw` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     fn raw(self) -> usize;
[INFO] [stdout]    |        --- the method is available for `PAddr` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Addr` which provides `raw` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  3 + use crate::mem::addr::Addr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_aligned` found for struct `VAddr` in the current scope
[INFO] [stdout]   --> src/mem/paging/sv32.rs:48:15
[INFO] [stdout]    |
[INFO] [stdout] 48 |     if !vaddr.is_aligned(PAGE_SIZE) { return Err(MapError::UnalignedVaddr(vaddr.raw())); }
[INFO] [stdout]    |               ^^^^^^^^^^ method not found in `VAddr`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/mem/addr.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct VAddr(pub(crate) usize);
[INFO] [stdout]    | ---------------- method `is_aligned` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     fn is_aligned(self, align: usize) -> bool {
[INFO] [stdout]    |        ---------- the method is available for `VAddr` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Addr` which provides `is_aligned` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  3 + use crate::mem::addr::Addr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `raw` found for struct `VAddr` in the current scope
[INFO] [stdout]   --> src/mem/paging/sv32.rs:48:81
[INFO] [stdout]    |
[INFO] [stdout] 48 |     if !vaddr.is_aligned(PAGE_SIZE) { return Err(MapError::UnalignedVaddr(vaddr.raw())); }
[INFO] [stdout]    |                                                                                 ^^^ method not found in `VAddr`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/mem/addr.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct VAddr(pub(crate) usize);
[INFO] [stdout]    | ---------------- method `raw` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     fn raw(self) -> usize;
[INFO] [stdout]    |        --- the method is available for `VAddr` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Addr` which provides `raw` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  3 + use crate::mem::addr::Addr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_aligned` found for struct `PAddr` in the current scope
[INFO] [stdout]   --> src/mem/paging/sv32.rs:49:15
[INFO] [stdout]    |
[INFO] [stdout] 49 |     if !paddr.is_aligned(PAGE_SIZE) { return Err(MapError::UnalignedPaddr(paddr.raw())); }
[INFO] [stdout]    |               ^^^^^^^^^^ method not found in `PAddr`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/mem/addr.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct PAddr(pub(crate) usize);
[INFO] [stdout]    | ---------------- method `is_aligned` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     fn is_aligned(self, align: usize) -> bool {
[INFO] [stdout]    |        ---------- the method is available for `PAddr` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Addr` which provides `is_aligned` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  3 + use crate::mem::addr::Addr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `raw` found for struct `PAddr` in the current scope
[INFO] [stdout]   --> src/mem/paging/sv32.rs:49:81
[INFO] [stdout]    |
[INFO] [stdout] 49 |     if !paddr.is_aligned(PAGE_SIZE) { return Err(MapError::UnalignedPaddr(paddr.raw())); }
[INFO] [stdout]    |                                                                                 ^^^ method not found in `PAddr`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/mem/addr.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct PAddr(pub(crate) usize);
[INFO] [stdout]    | ---------------- method `raw` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     fn raw(self) -> usize;
[INFO] [stdout]    |        --- the method is available for `PAddr` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Addr` which provides `raw` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  3 + use crate::mem::addr::Addr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `raw` found for struct `PAddr` in the current scope
[INFO] [stdout]   --> src/mem/paging/sv32.rs:51:22
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let l1 = l1_phys.raw() as *mut u32;
[INFO] [stdout]    |                      ^^^ method not found in `PAddr`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/mem/addr.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct PAddr(pub(crate) usize);
[INFO] [stdout]    | ---------------- method `raw` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     fn raw(self) -> usize;
[INFO] [stdout]    |        --- the method is available for `PAddr` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Addr` which provides `raw` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  3 + use crate::mem::addr::Addr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0605]: non-primitive cast: `PAddr` as `*mut u8`
[INFO] [stdout]   --> src/mem/frame_alloc.rs:33:50
[INFO] [stdout]    |
[INFO] [stdout] 33 |         unsafe { core::slice::from_raw_parts_mut(self.paddr as *mut u8, len) }
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0605]: non-primitive cast: `PAddr` as `*mut u8`
[INFO] [stdout]   --> src/mem/frame_alloc.rs:38:41
[INFO] [stdout]    |
[INFO] [stdout] 38 |         unsafe { core::ptr::write_bytes(self.paddr as *mut u8, byte, len); }
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of extern static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/mem/paging/sv32.rs:82:19
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let start = (&__kernel_base as *const u8 as usize) & !(PAGE_SIZE - 1);
[INFO] [stdout]    |                   ^^^^^^^^^^^^^ use of extern static
[INFO] [stdout]    |
[INFO] [stdout]    = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]   --> src/mem/paging/sv32.rs:81:1
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub unsafe fn map_kernel_identity(l1_phys: PAddr) -> Result<(), MapError> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]    = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of extern static is unsafe and requires unsafe block
[INFO] [stdout]   --> src/mem/paging/sv32.rs:83:21
[INFO] [stdout]    |
[INFO] [stdout] 83 |     let end_raw = (&__free_ram_end as *const u8 as usize);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^ use of extern static
[INFO] [stdout]    |
[INFO] [stdout]    = note: extern statics are not controlled by the Rust type system: invalid data, aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `mem::paging::sv32::map_page` is unsafe and requires unsafe block
[INFO] [stdout]   --> src/mem/paging/sv32.rs:88:9
[INFO] [stdout]    |
[INFO] [stdout] 88 |         map_page(l1_phys, VAddr(p), PAddr(p), PTE_R | PTE_W | PTE_X)?;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]    |
[INFO] [stdout]    = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: use of inline assembly is unsafe and requires unsafe block
[INFO] [stdout]    --> src/mem/paging/sv32.rs:98:5
[INFO] [stdout]     |
[INFO] [stdout]  98 | /     asm!(
[INFO] [stdout]  99 | |         "sfence.vma",
[INFO] [stdout] 100 | |         "csrw satp, {satp}",
[INFO] [stdout] 101 | |         "sfence.vma",
[INFO] [stdout] 102 | |         satp = in(reg) satp,
[INFO] [stdout] 103 | |         options(nostack, preserves_flags)
[INFO] [stdout] 104 | |     );
[INFO] [stdout]     | |_____^ use of inline assembly
[INFO] [stdout]     |
[INFO] [stdout]     = note: inline assembly is entirely unchecked and can cause undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/mem/paging/sv32.rs:96:1
[INFO] [stdout]     |
[INFO] [stdout]  96 | pub unsafe fn install_address_space(root_paddr: PAddr) {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `mem::paging::sv32::map_kernel_identity` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/mem/paging/sv32.rs:109:5
[INFO] [stdout]     |
[INFO] [stdout] 109 |     map_kernel_identity(root)?;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/mem/paging/sv32.rs:107:1
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub unsafe fn init_kernel_paging() -> Result<PAddr, MapError> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `mem::paging::sv32::install_address_space` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/mem/paging/sv32.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 110 |     install_address_space(root);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0133, E0599, E0605.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_kernel` (bin "rust_kernel") due to 17 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "623d30479636a39cff22e9697499fab9354025f258aa16ef921b052ed0509220", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "623d30479636a39cff22e9697499fab9354025f258aa16ef921b052ed0509220", kill_on_drop: false }`
[INFO] [stdout] 623d30479636a39cff22e9697499fab9354025f258aa16ef921b052ed0509220
